package com.spring.proxy;

import org.springframework.stereotype.Component;

// 核心实现类
@Component
class CalculatorImpl implements Calculator {

    public int add(int i, int j) {
        int result = i + j;
        System.out.println("方法内部 result = " + result);
        return result;
    }

}
